<template>
  <div>
    <div>这是首页面</div>
    <button @click="goFormPage">点击跳转到form页面</button>
    <pro-form>
      <pro-field title="输入框" name="aa" />
      <!-- <pro-field title="选择器" name="bb" :value-type="{ a: 'A', b: 'B' }" />
    <pro-field title="开关" name="cc" value-type="boolean" /> -->
    </pro-form>
  </div>
</template>

<script>
export default {
  name: "homePage",
  methods: {
    goFormPage() {
      this.$router.push('/formPage')
    }
  }
}
</script>

<style scoped></style>
